<%--
  Created by IntelliJ IDEA.
  User: Li
  Date: 2021/12/2
  Time: 9:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>登录</title>
</head>
<body>
<form action="/login" method="post">
    <h2>图书借阅系统</h2>
    <p>登录账号：<input type="text" name="userCode"></p>
    <p>登录密码：<input type="password" name="userPassword"></p>
    <input type="submit" value="登录">&nbsp;&nbsp;
    <input type="button" value="注册用户">
</form>
<span>${error}</span>
</body>
</html>
